// pages/article/reply/reply.js
Component({
  /**
   * Component properties
   */
  properties: {
    replyFocus: {
      type: Boolean,
      value: false
    },
    newplaceholder:{
      type:String,
      value: '我也来说两句~'
    },
    placeholder: {
      type: String,
      value: '我也来说两句~'
    }
  },

  /**
   * Component initial data
   */
  data: {
    value: ''
  },

  /**
   * Component methods
   */
  methods: {
    send() {
      this.triggerEvent('send', this.data.value)
      this.setData({
        value: ''
      })
    },

    blur() {
      this.triggerEvent('blur')
    }
  }
})
